Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

NetBSD 1.5 and sshd

0 views
Skip to first unread message

Saul Good

unread,
Dec 30, 2000, 12:34:30 PM12/30/00
to
Hi, could someone please help me? I am trying to start sshd. What am I = doing wrong? To create a hostkey, I type this: 'ssh-keygen -b 1024 -f /etc/ssh_host_key -N example'. Is there anything else needed to start sshd? I get this output: Generating RSA keys: Key generation complete. Your identification has been saved in /etc/ssh_host_key. Your public key has been saved in /etc/ssh_host_key.pub. The key fingerprint is: 82:59:c5:a8:0b:2d:05:d6:1b:6b:c6:85:a3:24:fc:b6 ro...@user.com (edited, not real FQDN
) I then type: '/usr/bin/sshd' and i get: error: Could not load host key: /etc/ssh_host_key: Bad file descriptor Disabling protocol version 1 error: Could not load DSA host key: /etc/ssh_host_dsa_key Disabling protocol version 2 sshd: no hostkeys available -- exiting. sshd: no hostkeys available -- exiting. What more is necessary? I remember when I started ssh on another machine running 1.4.x, this is all I had to do. Or perhaps I've forgotten a step?

tia
/saul


Robert Allerstorfer

unread,
Dec 31, 2000, 4:24:17 AM12/31/00
to
Hi,

I just added

sshd=YES sshd_flags=""

to /etc/rc.conf and

Port 22
Protocol 2,1
ListenAddress 192.168.0.5

to /etc/sshd.conf

and after rebooting sshd worked. The 768 bit RSA key has been created automatically.

Saul Good wrote:

ciao,
rob.

0 new messages